{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 widget_tweaks %}
{% load static %}
{% block title %}Edit liaison attachment{% endblock %}
{% block content %}
    {% origin %}
    <h1>Edit liaison attachment</h1>
    {% if form.errors %}
        <div class="alert alert-danger my-3">
            <p>
                There were errors in the submitted form -- see below. Please correct these and resubmit.
            </p>
        </div>
    {% endif %}
    {% bootstrap_form_errors form %}
    <form method="post" class="my-3">
        {% csrf_token %}
        {% bootstrap_form form %}
        <a class="btn btn-secondary float-end"
           href="{% url "ietf.liaisons.views.liaison_edit" object_id=liaison.pk %}">
            Back
        </a>
        <button name="save" type="submit" class="btn btn-primary">Save</button>
    </form>
{% endblock %}